import { getniceshopping } from "../../utils/api";
const niceshopping = {
  state() {
    return {
      niceshoppingContent: "",
    };
  },
  mutations: {
    getniceshopping(state, payload) {
      state.niceshoppingContent = payload;
    },
  },
  actions: {
    async getniceshopping({ commit }) {
      const res = await getniceshopping();
      commit("getniceshopping", res);
    },
  },
};
export default niceshopping;
